<layout name="layout" />

<div class="main-div">
    <form name="main_form" method="post" action="{:U('edit')}"  >
    	<input type="hidden" name="id" value="<?php echo $data['id']; ?>" />
        <table cellspacing="1" cellpadding="3" width="100%">
            <tr>
                <td class="label">姓名：</td>
                <td>
                    <input  type="text" name="username" value="<?php echo $data['username']; ?>" />
                </td>
            </tr>
            <tr>
                <td class="label">手机：</td>
                <td>
                    <input  type="text" name="telphone" value="<?php echo $data['telphone']; ?>" />
                </td>
            </tr>
            <tr>
                <td class="label">客户来源：</td>
                <td>
                    <input  type="text" name="form" value="<?php echo $data['form']; ?>" />
                </td>
            </tr>
            <tr>
                <td class="label">负责人</td>
                <td>
                    <input  type="text" name="charge" value="<?php echo $data['charge']; ?>" />
                </td>
            </tr>
            <tr>
                <td class="label">编号</td>
                <td>
                    <input  type="text" name="code" value="<?php echo $data['code']; ?>" />
                </td>
            </tr>
            <tr>
                <td class="label">备注</td>
                <td>
                    <input  type="text" name="remarks" value="<?php echo $data['remarks']; ?>" />
                </td>
            </tr>
            <tr>
                <td colspan="99" align="center">
                    <input type="submit" class="button" value=" 确定 " />
                    <input type="reset" class="button" value=" 重置 " />
                </td>
            </tr>
        </table>
    </form>
</div>

<link href="__PUBLIC__/umeditor1_2_2-utf8-php/themes/default/css/umeditor.css" type="text/css" rel="stylesheet">
<script type="text/javascript" charset="utf-8" src="__PUBLIC__/umeditor1_2_2-utf8-php/umeditor.config.js"></script>
<script type="text/javascript" charset="utf-8" src="__PUBLIC__/umeditor1_2_2-utf8-php/umeditor.min.js"></script>
<script type="text/javascript" src="__PUBLIC__/umeditor1_2_2-utf8-php/lang/zh-cn/zh-cn.js"></script>

<script>
var um = UM.getEditor('experience', {
	initialFrameWidth:"100%"
});
</script>